<include file="Public:header" />

<style>

.nav-glyphicons-list {
	display: table;
	width: 100%;
	padding-left: 0;
	list-style: none;
}
.nav-glyphicons li {
	display: table-cell;
	text-align: center;
    *display: inline-block;
    +float:left;
    
}
.nav-glyphicons li ul li {
	display: block;
}
.nav-glyphicons li a {
	display: inline-block;
	width: 100%;
    _width:auto;
	padding-top:0.2em;
}
.nav-glyphicons .glyphicon-class {
	display: block;
	text-align: center;
	word-wrap: break-word
}
.nav-glyphicons .dropdown-menu {
	border-radius: 0;
	padding-top: 0;
	padding-bottom: 0;
}

</style>
<script type="text/javascript" src="__PUBLIC__/Js/Calendar.js"></script>
<div style="padding:5px;">
  <div class="alert alert-warning" role="alert" style=" margin-bottom:5px;" > <strong>温馨提示：</strong>您可以在这里查看分成变动明细！ </div>  
</div>

<div style="padding:0 5px;">
  <div class="form-group">
    <form action="{:U('Member_account_log/divide')}" method="GET">
     <input type="text" class="form-control" placeholder="日期筛选" name="find_time" onClick="new Calendar().show(this);" style="width:50%; display: inline;" >
     <input type="hidden" name="pd_time" value="1">
     <input type="submit" class="btn btn-info" value="确认">
    </form> 
  </div>
</div>

<div class="panel panel-success" style="margin:0 5px;">
  <div class="panel-heading"><i class="glyphicon glyphicon-calendar"></i>总营业统计</div>
  <div class="panel-body" style="background:rgba(255,255,255,1.00);" >
    <div class="nav-glyphicons Bbutton">
      <ul class="nav-glyphicons-list" style="background-color:#fff">
        <li class=""><a href=""><span class="" aria-hidden="true"><if condition="$sumdivide.zdivide eq 0 ">0<else />{$sumdivide.zdivide}</if></span><span class="glyphicon-class">总分成</span></a></li>
        <li class=""><a href=""><span class="" aria-hidden="true"><if condition="$sumdivide.ddivide eq 0 ">0<else />{$sumdivide.ddivide}</if></span><span class="glyphicon-class">待分成</span></a></li>
        <li class=""><a href=""><span class="" aria-hidden="true"><if condition="$sumdivide.ydivide eq 0 ">0<else />{$sumdivide.ydivide}</if></span><span class="glyphicon-class">已分成</span></a></li>
      </ul>
    </div>
  </div>
</div>

<div class="panel panel-success" style="margin:5px 5px;">
  <div class="panel-heading"><i class="glyphicon glyphicon-calendar"></i>本月营业统计</div>
  <div class="panel-body" style="background:rgba(255,255,255,1.00);" >
    <div class="nav-glyphicons Bbutton">
      <ul class="nav-glyphicons-list" style="background-color:#fff">
        <li class=""><a href=""><span class="" aria-hidden="true"><if condition="$sumdivide.bzdivide eq 0 ">0<else />{$sumdivide.bzdivide}</if></span><span class="glyphicon-class">本月分成</span></a></li>
        <li class=""><a href=""><span class="" aria-hidden="true"><if condition="$sumdivide.bddivide eq 0 ">0<else />{$sumdivide.bddivide}</if></span><span class="glyphicon-class">本月待分成</span></a></li>
        <li class=""><a href=""><span class="" aria-hidden="true"><if condition="$sumdivide.bydivide eq 0 ">0<else />{$sumdivide.bydivide}</if></span><span class="glyphicon-class">本月已分成</span></a></li>
      </ul>
    </div>
  </div>
</div>


{$info.res}

<div class="panel panel-success" style="margin:5px;">
  <div class="panel-heading">
    <h3 class="panel-title">分成明细</h3>
  </div>
  <div class="panel-body">
  
  <volist name="list" id="vo">
    <div class="list-group">
         
         <ul class="list-group">
          
            <li class="list-group-item">
              <span style="font-size:12px;">{$vo.remark}</span>
              <p class="list-group-item-text">分成数值：{$vo.changenum}</p>
              <p class="list-group-item-text">状态：
              <if condition="$vo.status eq 0"><span style="color: rgba(159,41,43,1.00)">待确认</span><elseif condition="$vo.status eq 1"/>已确认</if>
              </p>
              <p class="list-group-item-text">操作时间：{:date('Y-m-d H:i:s', $vo['dateline'])}</p>
            </li>
         
         </ul>
    </div>
     </volist>
  </div>
</div>
<div class="pages">{$pages}</div>
<include file="Public:footer" />